package com.yaowk.common.api;

import java.io.Serializable;
import java.util.List;

public abstract class BaseServiceImpl<M extends BaseModel, ID extends Serializable> implements IBaseService<M, ID> {
    @Override
    public M add(M model) {
        return null;
    }

    @Override
    public M save(M model) {
        return null;
    }

    @Override
    public M update(M model) {
        return null;
    }

    @Override
    public void deleteById(ID id) {

    }

    @Override
    public void delete(M model) {

    }

    @Override
    public M findById(ID id) {
        return null;
    }

    @Override
    public M findOne(M model) {
        return null;
    }

    @Override
    public List<M> findAll() {
        return null;
    }

    @Override
    public List<M> findAll(M model) {
        return null;
    }

    @Override
    public PageResp<M> findAll(PageReq pageReq) {
        return null;
    }

    @Override
    public PageResp<M> findAll(M model, PageReq pageReq) {
        return null;
    }
}
